Subject Property (Message Object)
The Subject
property returns or sets the subject of the message as a string. Read/write.
Syntax
objMessage.Subject
Data Type
String
Remarks
The Subject
property corresponds to the MAPI property PR_SUBJECT.
The Subject
property is the default property of a Message object, meaning that Message is
syntactically equivalent to Message.Subject in Visual Basic code.
Example
This example
sets the subject of a message:
Dim objMessage As Object ' assume valid message
objMessage.Subject = "Microsoft Bob: Check It
Out"
See Also
Text Property (Message Object)